<?php
//This file contains all the fixed filepaths and defines required for the functions this plugin implements.
//DO NOT TOUCH THIS!

/* DEFINITONS ********************************************************************************************/

//prefixes
define( 'DPEM','diapucp-events-manager_' );
define( 'MBOX','metabox_' );
define( 'MDATA','metadata_' );

//fieldnames of each metadata to add:
define( 'DPEM_FIELD_LOCAL_NAME', DPEM . 'localization' );
define( 'DPEM_FIELD_LOCAL_DESC', DPEM . 'loc_desc' );
define( 'DPEM_FIELD_ORGANIZER', DPEM . 'organizer' );
define( 'DPEM_FIELD_STARTDATE', DPEM . 'startdate' );
define( 'DPEM_FIELD_ENDDATE', DPEM . 'enddate' );
define( 'DPEM_FIELD_STARTTIME', DPEM . 'starttime' );
define( 'DPEM_FIELD_ENDTIME', DPEM . 'endtime' );
define( 'DPEM_FIELD_IS_EVENT', DPEM . 'is_event' );


define( 'DPEM_FIELD_LOCATION_ID', DPEM . 'localization_id' );


define( 'DPEM_TABLE_LOCATIONS', DPEM . 'locations' );
define( 'DPEM_TABLE_SCHEDULES', DPEM . 'schedules' );

/* FILEPATHS *********************************************************************************************/

//For the base structure of the PlugIn
define( 'DPEM_PLUGIN_NAME','diapucp-events' );

define( 'DPEM_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . DPEM_PLUGIN_NAME );
define( 'DPEM_PLUGIN_URL', WP_PLUGIN_URL . '/' . DPEM_PLUGIN_NAME );

define( 'DPEM_LIB_PATH', DPEM_PLUGIN_DIR . '/includes/libs' );

define( 'DPEM_IMAGES_DIRPATH', DPEM_PLUGIN_DIR . '/images' );
define( 'DPEM_IMAGES_URLPATH', DPEM_PLUGIN_URL . '/images' );

define( 'DPEM_CSS_DIRPATH', DPEM_PLUGIN_DIR . '/css' );
define( 'DPEM_CSS_URLPATH', DPEM_PLUGIN_URL . '/css' );

define( 'DPEM_JSC_DIRPATH', DPEM_PLUGIN_DIR . '/js' );
define( 'DPEM_JSC_URLPATH', DPEM_PLUGIN_URL . '/js' );

//For the remote jQuery download, to save download time for a visitor from other country.
//DEPRECATED: Wordpress comes with it's custom jQuery version.
//define( 'GOOGLE_JQUERY_VER', '1.6.2' );
//define( 'GOOGLE_JQUERY_URL', 'http://ajax.googleapis.com/ajax/libs/jquery/' . GOOGLE_JQUERY_VER . '/jquery.min.js');

//For the SmartMetaBox functions.
define( 'DPEM_SMB_PATH', DPEM_LIB_PATH . '/smartmetabox' );
define( 'DPEM_SMB_FIELDS_PATH', DPEM_SMB_PATH. '/fields' );

//For the validations JS paths
//DEPRECATED: Each metabox field comes with its own custom jQuery validation.
define( 'VALIDATION_JSC_FILE_PATH', DPEM_JSC_DIRPATH . '/jquery-validation/jquery.validate.min.js' );
define( 'VALIDATION_JSC_URL_PATH', DPEM_JSC_URLPATH . '/jquery-validation/jquery.validate.min.js' );



?>
